#include <glib.h>

typedef struct cover_s * cover_t;

typedef enum {
	FRONT=100, 
	BACK, 
	CD, 
	INSIDE, 
	UNKNOWN
}CoverType;


cover_t cover_create (CoverType type);
/* Creates a cover with the given type */

cover_t cover_destroy (cover_t cover);
/* Free it's memory*/

void cover_set_big (cover_t cover, char * url);
/* Adds the url of the big picture of the cover, copy memory*/

void cover_set_thumb (cover_t cover, char * url);
/* Adds the url of the thumb picture of the cover, copy memory */

CoverType cover_type (cover_t cover);
/* Gets the cover type */

const char * cover_get_big (cover_t cover);
/* Gets the url of the big picture of the cover*/

const char * cover_get_thumb (cover_t cover);
/* Gets the url of the thumb picture of the cover */

